export function formatDate(date, separator1 = '-', separator2 = '-') {
  const year = date.getFullYear()
  const month = date.getMonth() + 1
  const day = date.getDate()
  return `${year}${separator1}${month}${separator2}${day}`
}
export function formatTimestamp(timestamp, separator1, separator2) {
  return formatDate(new Date(timestamp), separator1, separator2)
}
